﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorldOfMUDra
{
    public delegate void AreaEvent(Player p);
    public static class AreaVisitEvents
    {
        public static void GainAbilityLookAt(Player p)
        {
            p.GiveAbility(p.LookAtCommand, "LookAt", "Examine objects more closely! (Read writing, etc)", "LookAt <itemid>", "lookat");
        }

        public static void GainAbilityLookAround(Player p)
        {
            p.GiveAbility(p.LookAroundCommand, "LookAround", "Look around your area for items!", "LookAround", "lookaround");
        }

        public static void GainAbilityWhereAmI(Player p)
        {
            p.GiveAbility(p.WhereAmICommand, "WhereAmI", "Find out the area name and it's description!", "WhereAmI", "whereami");
        }

        public static void GainAbilityMoveTo(Player p)
        {
            p.GiveAbility(p.MoveToCommand, "MoveTo", "Move to another, reachable, area of the world!", "MoveTo <areaid>", "moveto");
        }

        public static void GainAbilityInventory(Player p)
        {
            p.GiveAbility(p.InventoryCommand, "Inventory", "Check the contents of your backpack!", "Inventory", "inventory");
        }

        public static void GainAbilityPickUp(Player p)
        {
            p.GiveAbility(p.PickUpCommand, "PickUp", "Pick up items in the world!", "PickUp <itemID>", "pickup");
        }
    }
}
